<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">

<head>
  <title>文件上传</title>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="http://localhost:8080/css/style.css"><!-- 引入 CSS 文件 -->
</head>

<body>
  <div class="container">
    <span class="span-uploadImg">
      <h4>上传图片</h4>
      <!-- multiple可以选择多个图片文件 -->
      <input type="file" id="imageInput" multiple />
      <div id="imageInfo" class="file-info"></div>
      <img id="uploadedImage" class="uploaded-image" src="">
    </span>

    <span class="span-uploadModel">
      <h4 style="margin-top: 50px">上传其他模型文件</h4>
      <input type="file" id="modelInput" />
      <div id="modelInfo" class="file-info"></div>
    </span>

    <input class="tijiao" id="submitModel" type="submit">
  </div>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  <script src="http://localhost:8080/js/upload.js"></script> <!-- 引入 JavaScript 文件 -->
</body>

</html>